﻿<phone:PhoneApplicationPage
    x:Class="Social_Celebrities.Views.Browser_Blogger"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--ContentPanel - place additional content here-->
                   
            <TextBox 
                x:Name="AddressBar" 
                Grid.Row="0"                
                Height="70" 
                Width="430" 
                VerticalAlignment="Top" 
                HorizontalAlignment="Left"
                Visibility="Collapsed"/>
        <!--<Image 
            Source="/Images/copy.png"
            x:Name="Copy_AddrBar_Content"
            Grid.Row="0"
            Width="55" 
            Height="55" 
            HorizontalAlignment="Right" 
            MouseLeftButtonDown="Image_MouseLeftButtonDown_1"
            Visibility="Collapsed"/>-->
        <Button x:Name="Copy_AddrBar_Content"
                Grid.Row="0"
                Width="380"
                Height="70"
                HorizontalAlignment="Left"
                Visibility="Collapsed"
                Content="Get blog URL"
                Click="Copy_AddrBar_Content_Click"/>
        <Button x:Name="Cancel"
                Grid.Row="0"
                Width="120"
                Height="70"
                HorizontalAlignment="Right"
                Visibility="Collapsed"
                Content="Back" Click="Cancel_Click"/>
            
            <phone:WebBrowser x:Name="Browser_Blog"
                              Grid.Row="1"
                              IsScriptEnabled="True"
                              LoadCompleted="Browser_Blog_LoadCompleted"
                              />        
    </Grid>
</phone:PhoneApplicationPage>